import java.util.Scanner;

public class Ex3_23{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.print("Enter a point with two coordinates: ");
		double x = input.nextDouble();
		double y = input.nextDouble();
		if (x <= 5 && y <= 2.5)
			System.out.printf("Point (%.1f,%.1f) is in the rectangle.\n", x, y);
		else
			System.out.printf("Point (%.1f,%.1f) is not in the rectangle.\n", x, y);
	}
}